package com.yingxin.yxerp.module.permission.vo.resp;

import com.yingxin.yx.framework.commons.vo.CommonRespVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * app功能权限
 * </p>
 *
 * @author matongtong
 * @since 2023-12-04
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="SysAppPermissionRespVo对象", description="app功能权限")
public class AppPermissionRespVo extends CommonRespVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "权限类型 M  LP")
    private String type;

    @ApiModelProperty(value = "层级")
    private Integer level;

    @ApiModelProperty(value = "父编号")
    private Integer parentId;

    @ApiModelProperty(value = "分组名称")
    private String applicationName;

    @ApiModelProperty(value = "图标底色")
    private String colorClass;

    @ApiModelProperty(value = "页面地址")
    private String applicationPath;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "状态开启关闭 :  0 关闭，1 开启")
    private String status;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    /** 常用应用isAllowDel表示添加到常用应用后是否允许移除*/
    private Boolean isAllowDel = true;
}
